{block name="main"}
<span {$attr} class="layui-badge {$class}" id="{$elem_id}">{$text|raw}</span>
{/block}
{block name="style"}{/block}
{block name="js"}{/block}
